package www.wackyboy.top.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import www.wackyboy.top.Dept;
import www.wackyboy.top.dao.IDeptDao;
import www.wackyboy.top.service.IDeptService;

@Service("deptService")
@Transactional
public class DeptServiceImpl implements IDeptService {

    @Autowired
    private IDeptDao deptDao;

    @Override
    public Dept searchDeptInfoById(Integer deptId) {
        return this.deptDao.searchDeptInfoById(deptId);
    }
}
